package com.wuyong.chapter7;

import java.util.ArrayList;

public class Main {

    public static void main(String[] args) {
        ArrayList<String> arrayList = new ArrayList<>();
        arrayList.add("fff");
        arrayList.add("fdf");
        arrayList.add("fff");
        arrayList.add("fsf");
        arrayList.add("fff");
        arrayList.add("fff");
        BSTSet<String> bstSet =  new BSTSet<>();

        LikedListSet<String> likedListSet = new LikedListSet<>();
        for (String s : arrayList) {
            bstSet.add(s);
            likedListSet.add(s);
        }
        System.out.println("likedListSet = [" + likedListSet + "]");
        likedListSet.remove("fff");
        System.out.println("likedListSet = [" + likedListSet + "]");
//        for (int i = 0; i <   likedListSet.getSize(); i++) {
//            System.out.println("bstSet = [" + likedListSet. + "]");
//        }

    }

}
